class CreateArticles < ActiveRecord::Migration
  def self.up
    create_table :articles do |t|
        t.column :title,        :string
        t.column :author,       :string
        t.column :body,         :text
        t.column :image_url,    :string
        
    end
  end

  def self.down
    drop_table :articles
  end
end
